simu = SIMULATION ('out/fillet', 1.0, 0.001, 0.001)

a = CUBE ((0, 0, 0), 1, 1, 1, (1, 2, 3, 4, 5, 6))
b = CUBE ((0.5, 0.5, 0.5), 1, 1, 1, (1, 2, 3, 4, 5, 6))
c = DIFFERENCE (a, b)
b = CUBE ((0, 0, 1), 0.4, 0.4, 0.2, (1, 2, 3, 4, 5, 6))
c = UNION (c, b)

FILLET (c, (0.5, 0, 0), 0.1, 0.1, 1)
FILLET (c, (0, 0.5, 0), 0.1, 0.1, 1)
FILLET (c, (0, 0, 0.5), 0.1, 0.1, 1)

FILLET (c, (0.75, 0.5, 0.5), 0.1, 0.1, 1)
FILLET (c, (0.5, 0.75, 0.5), 0.1, 0.1, 1)
FILLET (c, (0.5, 0.5, 0.75), 0.1, 0.1, 1)

FILLET (c, (0.5, 0.75, 1.0), 0.1, 0.1, 1)
FILLET (c, (0.75, 0.5, 1.0), 0.1, 0.1, 1)

FILLET (c, (0.2, 0.4, 1.0), 0.1, 0.1, 1)
FILLET (c, (0.4, 0.2, 1.0), 0.1, 0.1, 1)

DOMAIN (simu, c)
